package com.gym.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gym.pojo.Course;
import org.apache.ibatis.annotations.Param;


public interface CourseMapper extends BaseMapper<Course> {

    //插入
    //int insert(Course course);
    ////修改
    //int update(Course course);
    ////删除
    //int delete(Integer courseId);
    //查询所有
    //List<Course> getQueryAll();
    //根据课程名查询
    Course queryBycourseName(@Param("courseName") String courseName);
    //多条件查询
    //Course selectByParams(Course course);


}
